Configure BFD Session Type for an Endpoint Group

You can determine the session type for a Bidirectional Forwarding Detection (BFD) session formed over a Cluster Edge Port (CEP) port.

About this task

You can assign a session type as you create an endpoint group. You can also assign a session type to an existing endpoint group.

The default is auto, which means that the BFD session type is automatically determined based on whether the service type is set to extension (software) or Layer 3 hand-off (hardware).

The value of --single-homed-bfd-session-type is configured for one endpoint group and then propagated to all Ethernet and single-homed port channel interfaces defined for that endpoint group.

XCO does not distinguish between SRIOV (single-root input/output virtualization) and non-SRIOV connections. Therefore, it treats both connections the same way. If you want to use hardware-based BFD sessions for CEP non-SRIOV connections, then create an endpoint group that contains all the CEP non-SRIOV connections and set the --single-homed-bfd-session-type to hardware.

Procedure

  1. To assign a BFD session type when you create an endpoint group, run the following command:
    $ efa tenant epg create --name epg5 --tenant tenant11 --port 10.20.216.15[0/11]
    ,10.20.216.16[0/11] --po po1 --switchport-mode trunk --single-homed-bfd-session-type auto
    In this example, the session type is set to 'auto'.
  2. To assign a BFD session type to an existing endpoint group, run the following command:
    $ efa tenant epg update --name epg5 --tenant tenant11 --operation port-group-add 
    --port 10.20.216.15[0/11],10.20.216.16[0/11] --po po1 --switchport-mode trunk 
    --single-homed-bfd-session-type hardware
    In this example, the session type is set to 'hardware'.